package cn.sunjiachao.blog4jcs.modules.home.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class HomeController {

	@RequestMapping(value = "/", method = RequestMethod.GET)
	public ModelAndView toHomePage() {
        ModelAndView mav = new ModelAndView("home/home");
		return mav;
	}

}
